package com.lj.kdmadmin.modules.sites.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.lj.kdmadmin.common.utils.PageUtils;
import com.lj.kdmadmin.common.utils.Query;

import com.lj.kdmadmin.modules.sites.dao.TKdsMoviesDao;
import com.lj.kdmadmin.modules.sites.entity.TKdsMoviesEntity;
import com.lj.kdmadmin.modules.sites.service.TKdsMoviesService;


@Service("tKdsMoviesService")
public class TKdsMoviesServiceImpl extends ServiceImpl<TKdsMoviesDao, TKdsMoviesEntity> implements TKdsMoviesService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TKdsMoviesEntity> page = this.selectPage(
                new Query<TKdsMoviesEntity>(params).getPage(),
                new EntityWrapper<TKdsMoviesEntity>()
        );

        return new PageUtils(page);
    }

}
